<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <title>志愿一点通</title>
    <link href="${ctxStatic}/bootstrap/3.3.2/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="${ctxStatic}/app/css/master.css">
</head>
<body>
<nav class="topbar bluebg">
    <a class="icon-arrow icon-return" href="javascript:history.go(-1);"></a>
    <h1>我收藏的专业<div id="fuck"></div></h1>
</nav>
<div class="wrap">
    <div class="favlist">
        <ul>
            <c:choose>
                <c:when test="${not empty favMajorList}">
                    <c:forEach items="${favMajorList}" var="major">
                        <li>
                            <a href="${wechat}/majorDetail?majorCode=${major.majorCode}">${major.majorName}</a>
                            <span class="icon-starcheck" style="float: right;margin-right: 20px;margin-top: 14px;" onclick="favoriteMajor('major','','','','${major.majorCode}',this);"></span>
                        </li>
                    </c:forEach>
                </c:when>
                <c:otherwise>暂无数据</c:otherwise>
            </c:choose>
        </ul>
    </div>
</div>
<script src="${ctxStatic}/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/bootstrap/3.3.2/js/bootstrap.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/app/js/main.js" type="text/javascript"></script>
</body>
</html>